package com.oa.service.impl;

import com.oa.pojo.Education;
import com.oa.mapper.EducationMapper;
import com.oa.service.EducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class EducationServiceImpl implements EducationService {

    @Autowired
    private EducationMapper educationMapper;

    @Override
    public List<Education> getEducationList() {
        return educationMapper.getEducationList();
    }
}
